package com.wondertek.service.sdk.iotdh.dto.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class AlarmDeviceMessage {
    private String id;
    private String deviceId;//运营云设备id
    private String name;//设备名称仅新增
    private String deviceName;//设备名称
    private String deviceSn;//设备sn码
    private Long orgId;//组织id
    private String orgName;//组织名称
    private String alarmType;//报警类型
    private Integer alarmLevel;//报警等级
    private Integer alarmStatus;//消警状态 0 未消警 1 已消警
    private String info;//Json格式的附加信息
    private Long alarmTime;//报警时间
    private String handleTime;//处理时间
    private String handleUserName;//处理⽤户id
    private String handleStatus;//处理状态 1 待确认 2 已下发 3 已确认
    private String channelId;//通道id
    private String deviceType;//设备⼤类 详⻅ 附录 1
    private String deviceSubType;//设备⼩类 详⻅ 附录 1
    private Integer status;//在线状态1-在线，0-离线
    private String manufacturer;//⽣产⼚家详⻅ 附录 3
    private Integer deviceOperate;//设备操作⾏为 0删除 1新增 没有
    @Schema(name = "areaId",description = "分区id")
    private Integer areaId;

    @Schema(name = "type",description = "推送类型 1告警 2设备上下线 3 设备增删")
    private Integer type;
}
